import Vue from 'vue'
import Vuex from 'vuex'
// 导入用户信息模块
import user from './user'
// 导入文章相关信息模块
import article from './article'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // 挂载模块
    user,
    article
  }
})
